package com.example.demo2.bean;


/**
 * CD专辑中的歌曲
 */
public class Track {
    private String name;
    private long length;

    public Track(String name, long length) {
        this.name = name;
        this.length = length;
    }

    public String getName() {
        return name;
    }

    public long getLength() {
        return length;
    }

    @Override
    public String toString() {
        return name;
    }

}
